Optimal. Leaf size=57 \[ \frac {p x^{(1-n) (p+1)} \left (a x^{-((1-n) p)}+b x^{n-(1-n) p}\right )^{\frac {1}{p}+1}}{b n (p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {1979, 2000} \[ \frac {p x^{(1-n) (p+1)} \left (a x^{-(1-n) p}+b x^{n-(1-n) p}\right )^{\frac {1}{p}+1}}{b n (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1979
Rule 2000
Rubi steps
\begin {align*} \int \left (x^{(-1+n) p} \left (a+b x^n\right )\right )^{\frac {1}{p}} \, dx &=\int \left (a x^{(-1+n) p}+b x^{n+(-1+n) p}\right )^{\frac {1}{p}} \, dx\\ &=\frac {p x^{(1-n) (1+p)} \left (a x^{-(1-n) p}+b x^{n-(1-n) p}\right )^{1+\frac {1}{p}}}{b n (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 47, normalized size = 0.82 \[ \frac {x^{1-n} \left (a+b x^n\right ) \left (x^{(n-1) p} \left (a+b x^n\right )\right )^{\frac {1}{p}}}{b n \left (\frac {1}{p}+1\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 47, normalized size = 0.82 \[ \frac {{\left (b p x x^{n} + a p x\right )} \left ({\left (b x^{n} + a\right )} x^{{\left (n - 1\right )} p}\right )^{\left (\frac {1}{p}\right )}}{{\left (b n p + b n\right )} x^{n}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left ({\left (b x^{n} + a\right )} x^{{\left (n - 1\right )} p}\right )^{\left (\frac {1}{p}\right )}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.72, size = 0, normalized size = 0.00 \[ \int \left (\left (b \,x^{n}+a \right ) x^{\left (n -1\right ) p}\right )^{\frac {1}{p}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left ({\left (b x^{n} + a\right )} x^{{\left (n - 1\right )} p}\right )^{\left (\frac {1}{p}\right )}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int {\left (x^{p\,\left (n-1\right )}\,\left (a+b\,x^n\right )\right )}^{1/p} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (x^{p \left (n - 1\right )} \left (a + b x^{n}\right )\right )^{\frac {1}{p}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________